JavaScript

windowObject.setMoveDisabled Method

Syntax

windowObj.setMoveDisabled(disabled);

Arguments

disabledboolean

A true/false value. If true, the Window cannot be moved. If false, the Window can be moved.

Description

Enables or disables the ability to move the Window.

Example

//get a pointer to the window object
var windowObj = {dialog.object}.getWindow('MYWINDOW');

if (windowObj) {
    windowObj.setMoveDisabled(true);
}